#ifndef _KEYBOARD_H_
#define _KEYBOARD_H_

#include "common/common.h"

namespace iecas_ns
{
    class CKeyboard
    {
		public:
			static shared_ptr<CKeyboard> getInstance();
            CKeyboard();
			bool init(string srcDev);
            void start(void);
            void loop(void);
            bool deinit(string srcDev);
		private:
			static shared_ptr<CKeyboard> sm_intancePtr;
            string m_srcDev;
            shared_ptr<CCommon> m_commonPtr;
    };
}

#endif